package com.chinastock.communication;

import com.alibaba.fastjson.annotation.JSONField;

/**
 * 
 */
public class Meta{
	/** true：成功，false：失败 */
	@JSONField(name = "success")
	private Boolean success;
	/** 返回码 */
	@JSONField(name = "code")
	private String code;
	/** 返回说明 */
	@JSONField(name = "message")
	private String message;
	/** 处理时长 */
	@JSONField(name = "processingTime")
	private Integer processingTime;

	public Boolean isSuccess() {
		return this.success;
	}

	public void setSuccess(Boolean success) {
		this.success = success;
	}

	public String getCode() {
		return this.code;
		
	}

	public void setCode(String code) {
		this.code = code;
	}

	public String getMessage() {
		return this.message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public Integer getProcessingTime() {
		return this.processingTime;
	}

	public void setProcessingTime(Integer processingTime) {
		this.processingTime = processingTime;
	}

	@Override
	public String toString() {
		return "Meta [success=" + success + ", code=" + code + ", message=" + message + ", processingTime="
				+ processingTime + "]";
	}
}
